package com.wanyang.dos;

import java.io.Serializable;

public class PostCommentDO implements Serializable {
    private Integer id;

    private Integer postId;

    private Integer replyId;

    private Integer commentMemberId;

    private String content;

    private Integer createTime;

    private Boolean isDelete;

    private Integer likes;

    private Integer parentId;

    private Integer subCommentQuantity;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getReplyId() {
        return replyId;
    }

    public void setReplyId(Integer replyId) {
        this.replyId = replyId;
    }

    public Integer getCommentMemberId() {
        return commentMemberId;
    }

    public void setCommentMemberId(Integer commentMemberId) {
        this.commentMemberId = commentMemberId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSubCommentQuantity() {
        return subCommentQuantity;
    }

    public void setSubCommentQuantity(Integer subCommentQuantity) {
        this.subCommentQuantity = subCommentQuantity;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", postId=").append(postId);
        sb.append(", replyId=").append(replyId);
        sb.append(", commentMemberId=").append(commentMemberId);
        sb.append(", content=").append(content);
        sb.append(", createTime=").append(createTime);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", likes=").append(likes);
        sb.append(", parentId=").append(parentId);
        sb.append(", subCommentQuantity=").append(subCommentQuantity);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}